package com.fushenlan.commons;

import lombok.Data;

/**
 * @author PC
 * @title: ErrorStatus
 * @projectName SpringBootDemo
 * @description: TODO
 * @date 2022/1/21 13:53
 */
@Data

public class ErrorStatus {
    private String code;
    private String msg;
    private String hmsg;

    public ErrorStatus() {
    }

    public ErrorStatus(String code) {
        this.code = code;
    }

    public ErrorStatus(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public ErrorStatus(String code, String msg, String hmsg) {
        this.code = code;
        this.msg = msg;
        this.hmsg = hmsg;
    }

}
